import Vue from 'vue'
import Vuelidate from 'vuelidate'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'

//npm install bootstrap-vue
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'

import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'

Vue.use(BootstrapVue)
Vue.use(IconsPlugin)
Vue.use(Vuelidate)
Vue.use(VueAxios, axios)

Vue.config.productionTip = false

// 会报错 所以所以需要在src目录下，新建一个d.ts结尾的文件(可以叫env.d.ts)
// 还需要新建一个jsconfig.json 才行



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
